package com.qa.dao;

import com.qa.pojo.Contact;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ContactMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Contact record);

    Contact selectByPrimaryKey(Integer id);

    List<Contact> selectAll();

    int updateByPrimaryKey(Contact record);

    List<Contact> getByEmail(String userEmail);
}